/**
 * 
 */
package org.insia.smartposse.metier.webservice;

import java.io.Serializable;
import java.util.Date;

import org.insia.smartposse.metier.ProjectSkillAffectation;

/**
 * @author raguerri
 * @since 18 avr. 07
 * @version 0.0.1
 * 
 */
public class LightProjectSkillAffectation 
implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5324745380431266931L;
	private long id;
	private long projectSkill;
	private long freelance;
	private Date start_date;
	private Date end_date;
	/**
	 * 
	 * @param psAff
	 */
	public LightProjectSkillAffectation(ProjectSkillAffectation psAff) {
		
		id = psAff.getId();
		projectSkill = psAff.getProjectSkill().getId();
		freelance = psAff.getFreelance().getId();
		start_date = psAff.getStart_date();
		end_date = psAff.getEnd_date();
		
	}
	/**
	 * 
	 *
	 */
	public LightProjectSkillAffectation() {
	}
	/**
	 * @return the end_date
	 */
	public Date getEnd_date() {
		return end_date;
	}
	/**
	 * @return the freelance
	 */
	public long getFreelance() {
		return freelance;
	}
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @return the projectSkill
	 */
	public long getProjectSkill() {
		return projectSkill;
	}
	/**
	 * @return the start_date
	 */
	public Date getStart_date() {
		return start_date;
	}
	/**
	 * @param end_date the end_date to set
	 */
	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}
	/**
	 * @param freelance the freelance to set
	 */
	public void setFreelance(long freelance) {
		this.freelance = freelance;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @param projectSkill the projectSkill to set
	 */
	public void setProjectSkill(long projectSkill) {
		this.projectSkill = projectSkill;
	}
	/**
	 * @param start_date the start_date to set
	 */
	public void setStart_date(Date start_date) {
		this.start_date = start_date;
	}
}
